/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmall.model.po.WebLog;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.support.DaoSupport;

@Repository
@NameSpace("web_log")
public class WebLogDao extends DaoSupport<WebLog>{
	
	public WebLog getLastLogByUrlAndMemberId(String url,Integer id){
		WebLog log=new WebLog();
		log.setMemberId(id);
		log.setUrl(url);
		return (WebLog) this.query("getLastLogByUrlAndMemberId", log);
	}
}
